
define(["jquery","template","as/template/mabc/mabcDetailInfo.tpl"],function ($,template,tpl) {
    var ui = {};
	/*
     * 基本信息：
     * */
    ui.infoInit = function(options){
    	$(options.id).html(tpl.init());
        var h = template("mabcDetailInfo_tpl",options);
        $(options.id).html(h);
    };
    /*
     * 问卷列表：
     * */
    ui.questListInit = function(options){
        $(options.id).html(tpl.questList());
        var h = template("mabcQuestListInfo-tpl",options);
        $(options.id).html(h);
    };
    /***问卷题目列表**/
    ui.answerList = function(options){
        $(options.id).html(tpl.answerList());
        var h = template("answerList-tpl",options);
        $(options.id).html(h);
    };
    /***问卷题目列表**/
    ui.report = function(options){
        $(options.id).html(tpl.report());
        var h = template("mabcReport-tpl",options);
        $(options.id).html(h);
    };
    return ui;
});